#include "myQThread.h"

void myQThread::run(){

    while (1) {
        qDebug() << "hello world";
        QThread::sleep(1);
    }
}

void myQThread::stop()
{
    this->terminate();
    this->wait();
}
